
	function initNumberJiajian() {
		var price = 100;//商品单价
		var sy_number = 1;//默认购买数量
		var maxNumber = 0;//商品购买上限，0不限制
		
		var sy_num_gid1 = $('#sy_num_gid1');
		var jiageEle = $('#Jiage');
		
		function setNumber (num) {
			sy_number = num;
			sy_num_gid1.val(sy_number);
			jiageEle.html(sy_number * price + '元');
		}
		
		setNumber(sy_number);
		
		$('#sy_minus_gid1').click(function () {
			sy_number > 1 && setNumber(sy_number - 1);
		});
		
		$('#sy_plus_gid1').click(function () {
			 if(maxNumber == 0 || sy_number < maxNumber) {
			 	setNumber(sy_number + 1);
			 }
		});
	}
	
	var n=0;
	function anima(){
		if(n<1){n=n+1}else{n=0};
		if(n==1){
			$('.f-box').css('display','block').addClass('animated fadeIn');
			}
		if(n==0){
			$('.f-box').css('display','none');
			}
		}
    	
    
